<?php
if(!isset($GLOBALS['_vars'])) $GLOBALS['_vars'] = array(); 
$fields = array();
?><!doctype html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>爱尔向日葵计划-网上申请</title>

<meta name="keywords" content="" />

<meta name="description" content="" />

<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" />

<meta name="apple-mobile-web-app-capable" content="yes">

<meta name="apple-mobile-web-app-status-bar-style" content="black">

<meta name="aplus-terminal" content="1"/>

<link href="/hyxt/m/mcss/style.css" rel="stylesheet" type="text/css">

<script language="javascript" src="js/jquery-1.7.1.min.js"></script>

<link rel="stylesheet" type="text/css" href="css/revealm.css">

<script language="javascript" src="js/jquery.reveal.js"></script>

</head>

<body>

<div class="banner">

	<div class="images">

    <a href="#" data-reveal-id="myModal2" data-animation="none" >

 <?php 

 $face = $cfg_ml->fields['face'];

     if($face!=''){ echo "<img   src='$face' style='_margin-top:expression(( 180 - this.height ) / 2);cursor:pointer'  />\r\n";

	 }

  else echo "<img   src='/hyxt/pc/images/img_01.png' style='_margin-top:expression(( 180 - this.height ) / 2);cursor:pointer'   />\r\n";	

       			?>   </a>     

    </div>

    <p class="name"><script type="text/javascript">

           	var now=(new Date()).getHours();

			if(now>0&&now<=6){

				document.write("午夜好，");

			}

			else if(now>6&&now<=9){

				document.write("早上好，");

			}

			else if(now>9&&now<=11){

				document.write("上午好，");

			}else if(now>11&&now<=14){

				document.write("中午好，");

			}else if(now>14&&now<=18){

				document.write("下午好，");

			}else{

				document.write("晚上好，");

			}

			</script><?php echo $cfg_ml->M_UserName?>，<a href="../member/index_dom_xrk.php?fmdo=login&dopost=exit#">[退出]</a></p>

</div>

<div class="main">

	<div class="member-tab wssq-tab">

	<ul class="member-menu" style="width:6.79rem;">

    	<li><a  href="indexm_xrksq.php"  target="_self"  >网上申请</a></li>

    	<li><a  href="content_listm_xrk.php?channelid=25"  target="_self"  >信息管理</a></li>

    	<li><a href="zhuangtai_listm_xrk.php?channelid=25"  class="member-on"  >状态查询</a></li>

    	<li><a  href="edit_baseinfom_xrk.php?channelid=25"  target="_self"   >账户信息</a></li>

    </ul>

    <div class="member-bot wssq-bot">
 <!-- <img src="/images/3buzhou.png"  width="100%"/> -->
		<link rel="stylesheet" type="text/css" href="/hyxt/model-head20211227/css/m-jz.css"/>
		<div class="buzhou">
			<h1>网上申请<span id="title-3">3</span>步骤</h1>
			<div style="clear: both;"></div>
			<ul>
				<li class="buzhou1">
					<img src="/hyxt/model-head20211227/images/buzhou1.png" alt="步骤1">
					<p>在“网上申请”页面分布填写信息并保存，可以对已填写信息进行修改，缺少的信息进行补填。</p>
				</li>
				<div class="jiantou1 jiantou">
					<img src="/hyxt/model-head20211227/images/jindu.png" >
				</div>
				<li class="buzhou2">
					<img src="/hyxt/model-head20211227/images/buzhou2.png" alt="步骤2">
					<p>申请表填写完成，确认没问题后，在“信息管理”页点击“提交”按钮提交申请。<span id="zhu">注：申请表提交后则不可以对信息进行任何修改。</span></p>
				</li>
				<div class="jiantou2 jiantou">
					<img src="/hyxt/model-head20211227/images/jindu.png" >
				</div>
				<li class="buzhou3">
					<img src="/hyxt/model-head20211227/images/buzhou3.png" alt="步骤4">
					<p>由工作人员审核筛查申请信息，最终审核结果会在“状态查询”页显示。</p>
				</li>
			</ul>
			<div style="clear: both;"></div>
		</div>
		<div style="clear: both;"></div>
        	<div class="main-body">

              <?php
$atts = array();
$atts['tagname'] = 'datalist';
$blockValue = $this->refObj->GetArcList($atts,$this->refObj,$fields); 
if(is_array($blockValue)){
foreach( $blockValue as $key=>$fields )
{
?>

                    <div class="hyxm-title">&nbsp;&nbsp;项目名称：<?php echo $fields['typename']; ?></div>

                    <div class="hyxm-body">

                        <div class="hyxm-step">

                            <div class="step-bj"></div>

                            <ul>

<?php

if($fields['tijiao']=="1"){

                    	echo "<li class='active'><span>1</span>提交申请<br>";

						echo GetDateMk($fields['senddate']); 

                        echo "</li>";

						}

					else

					{

					echo "<li><span>1</span><font color='blue'>提交申请</font><br>";

                    echo "</li>";

					}



if($fields['zhuangtai']=="审核中")

         echo "<li class='active'><span>2</span><font color='red'>审核中</font><br/>".date('Y-m-d H:i:s',$fields['shztime']);

else if($fields['zhuangtai']=="审核未通过") echo "<li class='close'><span>2</span><font color='blue'>审核不通过</font><br/>".date('Y-m-d H:i:s',$fields['shjgtime']);

else if($fields['zhuangtai']=="材料补充中") echo "<li class='close'><span>2</span><font color='blue'>材料补充中</font><br/>".date('Y-m-d H:i:s',$fields['clbctime']);

else if($fields['zhuangtai']=="待筛查") echo "<li class='close'><span>2</span><font color='blue'>待筛查</font><br/>".date('Y-m-d H:i:s',$fields['dsctime']);

else if($fields['zhuangtai']=="审核通过")

 echo "<li class='active'><span>2</span>审核通过<br/>".date('Y-m-d H:i:s',$fields['shjgtime']);

 else if($fields['zhuangtai']=="救助中")

 echo "<li class='active'><span>2</span>审核通过<br/>".date('Y-m-d H:i:s',$fields['shjgtime']);

  else if($fields['zhuangtai']=="救助完成")

 echo "<li class='active'><span>2</span>审核通过<br/>".date('Y-m-d H:i:s',$fields['shjgtime']);

else echo "<li><span>2</span><font color='red'>未审核</font>";

?>

                        </li>

						<?php

if($fields['zhuangtai']=="救助中"){

                        	 echo "<li class='active'><span>3</span>救助中";

                            echo "<br/>";

							echo date('Y-m-d H:i:s',$fields['zzztime']);

                        echo "</li>";}

	 

if($fields['zhuangtai']=="救助完成"){

                        	 echo "<li class='active'><span>3</span>救助中";

                            echo "<br/>";

							echo date('Y-m-d H:i:s',$fields['zzztime']);

                        echo "</li>";}

	 

if($fields['zhuangtai']=="救助完成"){

                        	 echo "<li class='active'><span>4</span>救助完成";

                             echo "<br/>";

							echo date('Y-m-d H:i:s',$fields['yzztime']);

                            echo "</li>";}

						?>

                    </ul>

                </div>

            	<div class="remarks" style="margin:0px 12px 25px 12px" >

 <?php

if($fields['zhuangtai']=="审核通过")

           echo "您已通过项目审核，请将申请表打印一份，连同全部以图片形式上传的证明材料（注：由村（居）委会和街道办（乡镇）出具的家庭情况证明，需提供原件），寄送至北京爱尔公益基金会。<br/><b>邮寄地址</b>：<br/>北京市海淀区玉带路6号院1号楼<br/>艾晓宇收，010-62871560";

else echo strip_tags($fields['aieryijian']);

?>

                </div>

            </div><?php
}
}?>

         <br/><br/><br/><br/>

    </div>

 </div>

</div>

<script type="text/javascript">

$(".main-form p").click(function(){

		$(this).next("form").slideToggle(300).siblings("form").slideUp(300);

	})

$(".main-nav ul li a").click(function(){

	$('.main-nav ul li a').removeClass('on')

	 $(this).addClass('on')

	})

</script>

 <!--弹窗开始-->

<div id="myModal2" class="reveal-modal">

<div class="center">

<p class="title" style="display:none;">更换头像</p>

<form action="edit_face.php" method="post" enctype="multipart/form-data" name="form1">

    <input type="hidden" name="dopost" value="save" />

      <div id="mainCp">

        <h3 class="meTitle"><strong>用户头像</strong></h3>



        <div class="postForm">

          <p>

            <label style="display:none;">选择上传的文件：</label>

            <input name="face" type="file" id="face" size="45" />

          </p>

          <p class="cellBg">

            <label style="width:90px"><b>原来的头像：</b></label>

            <div id='faceview' class='overflow mTB10 litPic'>

                 <?php

       					if($face!='') echo " <img class='' src='$face' style='_margin-top:expression(( 180 - this.height ) / 2);' />\r\n";

       			?>

              </div>

          </p>

          <p>

            <button class="export" type="submit">&nbsp;&nbsp;&nbsp;&nbsp;更&nbsp;&nbsp;新&nbsp;&nbsp;&nbsp;&nbsp;</button>

          </p>

    </div>

 

 </div>

</form> 

</div>

</div>

<!--弹窗结束-->

</body>

</html>